package com.blqy.fr.account.client;

import com.blqy.fr.account.client.impl.UserBillDegradeFeignClient;
import com.blqy.fr.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * <p>
 * 产品列表API接口
 * </p>
 *
 * @author qy
 */
@FeignClient(value = "service-account", fallback = UserBillDegradeFeignClient.class)
public interface UserBillFeignClient {

    @PostMapping("api/account/userAccount/saveAccount/{userId}")
    Result saveAccount(@PathVariable Long userId);

    @PostMapping("api/account/userAccount/init/{userId}")
    Result init(@PathVariable Long userId);

}